package nancal.mp.db.es.table

import java.io.*
import nbcp.myoql.db.*
import nbcp.myoql.db.es.*
import nbcp.myoql.db.comm.*
import nbcp.myoql.db.enums.*
import nbcp.myoql.db.es.component.*
import nbcp.base.utils.*
import nbcp.base.extend.*
import nbcp.myoql.db.es.base.*
import org.slf4j.LoggerFactory
import org.springframework.stereotype.*


class CreditEntityHardwareModelMeta (private val parentPropertyName: String): EsColumnName() {
    constructor(_val: EsColumnName): this(_val.toString()) {}

    val board=esColumnJoin(this.parentPropertyName, "board")
    val brand=esColumnJoin(this.parentPropertyName, "brand")
    val cores=esColumnJoin(this.parentPropertyName, "cores")
    val deviceHeight=esColumnJoin(this.parentPropertyName, "deviceHeight")
    val deviceName=esColumnJoin(this.parentPropertyName, "deviceName")
    val deviceWidth=esColumnJoin(this.parentPropertyName, "deviceWidth")
    val model=esColumnJoin(this.parentPropertyName, "model")
    val physicalSize=esColumnJoin(this.parentPropertyName, "physicalSize")
    val productionDate=esColumnJoin(this.parentPropertyName, "productionDate")
    val release=esColumnJoin(this.parentPropertyName, "release")
    val sdkVersion=esColumnJoin(this.parentPropertyName, "sdkVersion")
    val serialNumber=esColumnJoin(this.parentPropertyName, "serialNumber")

    override fun toString(): String {
        return esColumnJoin(this.parentPropertyName).toString()
    }
}

